<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$tname}，个人资料 - {$sitename}</title>
<link rel="stylesheet" type="text/css" href="template/style/ht.css" />
<link type="text/css" rel="stylesheet" href="template/style/build/base.css" />
<link rel="stylesheet" type="text/css" href="template/style/build/setting.css" />
</head>
<body class="home">

<div id="tongxue">
<div id="body">
{xingTemplate menu}
<div id="container"> 
<!--vip_profile_tabs end-->

<div id="mainWrapper" class="clearfix">
<div id="clock"> </div>
<div id="container">
<div id="mainWrapper" class="clearfix">
<div id="clock"></div>
<div id="conWrapper">
<h2 class="conTitle largeFont" id="uTitle"><img src="face/{$uid}.jpg" onerror="src='face/noavatar.gif'"  class="photo_l" alt="" />{$tname}</h2>

<ul class="settingTab clearfix">
<li><a href="set.php">基本信息</a></li>
<li><a href="set.php?action=face">上传照片</a></li>
<li class="curt"><a href="set.php?action=pwd">密码修改</a></li>
</li>

</ul>

<div style="border-top:1px solid #B3B3B3;margin:0 15px;"></div>
<script language="javascript">

<!--
function doCheck(){
var oldpwd    =   document.frmPassword.oldpwd.value;
var newpwd    =   document.frmPassword.newpwd.value;
var repwd    =   document.frmPassword.repwd.value;

if(oldpwd ==""){
alert('请输入原密码');
return false;
}
if(newpwd ==""){
alert('请输入新密码！');
return false;
}
if(repwd ==""){
alert('请再次输入新密码');
return false;
}
if (newpwd != repwd) {
alert('重复密码与密码不一致!'); return false;
}
}
-->
</script>
<div style="height:500px;">
				<form name="frmPassword"  onSubmit="return doCheck();" method="POST" action="set.php?action=pwd">
				<table class="tb">
					<tbody>
					<tr>

						<th style="line-height: 23px;">原密码：</th>
						<td width="490"><input type="password" class="txt" value=""  id="pawd" name="oldpwd"/>
						</td>
					</tr>

					<tr>
						<th style="line-height: 23px;">新密码：</th>
						<td><input type="password" class="txt"  name="newpwd"/>
						
						</td>
					</tr>
					<tr>
						<th style="line-height: 23px;">确认密码：</th>
						<td><input type="password" class="txt" name="repwd"/>
						
						</td>
					</tr>

					<tr>
						<th> </th>
						<td>
						<input type="hidden" name="editsubmit" value="1">
						<button type="submit" name="" class="btn w2">保存</button></td>
					</tr>
				</tbody></table>
				</form>				
			</div>




</div>
<div id="side">
<div class="sideSection">

<div class="sideSection_header">
<h3>基本信息</h3>

</div>
<p>设置你的基本信息，除了你的联系方式，例如QQ、msn和邮箱，你的基本资料将会出现在个人主页。</p>
</div>           
</div>
</div>


</div>


</div></div>
{xingTemplate footer}
</div>
</div>
<a href="#" id="feedbackbutton"></a>
</body>
</html>
